﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace GdHotel.Data
{
    [MetadataType(typeof (CustomPageMetaData))]
    public partial class CustomPage
    {
    }

    public class CustomPageMetaData
    {
        [Display(Name = "Заголовок")]
        public Object Title { get; set; }

        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Текст")]
        public Object Text { get; set; }

        [Display(Name = "Опубликована")]
        public Object Publish { get; set; }

        [Display(Name = "Ключ")]
        public Object Key { get; set; }
    }
}
